#include "ECamera.h"
#include "eCPP.h"

namespace engine
{
//------------------------------------------------------------
// ECameraState
//------------------------------------------------------------
const float ECameraState::s_fDefaultFar     = 0.5f;
const float ECameraState::s_fDefaultNear    = 1000.f;
const float ECameraState::s_fDefaultFov     = 70.f;
//------------------------------------------------------------
ECameraState::ECameraState() :
m_fFar( s_fDefaultFar ),
m_fNear( s_fDefaultNear ),
m_fFov( s_fDefaultFov )
{

}
//------------------------------------------------------------
// ECamera
//------------------------------------------------------------
ECamera::ECamera() : 
m_pState( NULL )
{
  m_pState = new ECameraState();
}

//------------------------------------------------------------
ECamera::~ECamera()
{
  delete m_pState;
}
} // end namespace